package com.jblv.frame.user.api.params;


import com.jblv.frame.common.params.PageParams;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author happyonion.yangtao
 * @version 1.0
 * @title SysDeptListParams
 * @projectName jblv-frame
 * @packageName com.jblv.frame.user.api.
 * @description SysDeptListParams 菜单列表参数类
 * @date Create at 2020/4/27 22:47
 * @since jdk1.8
 */
@ApiModel(value="菜单列表参数类",description="请求菜单列表参数" )
public class SysMenuListParams extends PageParams implements Serializable {
    private static final long serialVersionUID = 253981116302299555L;

    @ApiModelProperty(example = "45a4f4f898944d7d952535509095f248")
    private String menuId;
    @ApiModelProperty(example = "政治部")
    private String name;
    /**
     * 上级菜单ID，一级菜单为0
     */
    @ApiModelProperty(example = "0",notes = "上级菜单ID，一级菜单为0")
    private String parentId;
    /**
     * 创建时间 开始
     */
    @ApiModelProperty(example = "1588254943687",notes = "创建时间 开始")
    private Long createTimeBegin;
    /**
     * 创建时间 结束
     */
    @ApiModelProperty(example = "1588254943687",notes = "创建时间 结束")
    private Long createTimeEnd;

    public String getDeptId() {
        return menuId;
    }

    public void setDeptId(String menuId) {
        this.menuId = menuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Long getCreateTimeBegin() {
        return createTimeBegin;
    }

    public void setCreateTimeBegin(Long createTimeBegin) {
        this.createTimeBegin = createTimeBegin;
    }

    public Long getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Long createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    @Override
    public String toString() {
        return "SysDeptListParams{" +
                "menuId='" + menuId + '\'' +
                ", name='" + name + '\'' +
                ", parentId='" + parentId + '\'' +
                ", createTimeBegin=" + createTimeBegin +
                ", createTimeEnd=" + createTimeEnd +
                '}';
    }
}
